package com.fouram.core.base;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.function.Consumer;

/**
 * 导入公共信息类
 * @author liupeng
 */
@Data
@Accessors(chain = true)
public class ImportExcelInfo<VO> {

    /**
     * 导入VO类
     */
    private Class headClass;

    /**
     * 持久化消费方法
     */
    private Consumer<VO> persistenceConsumer;

}